package com.qzw.study.circledepend;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author ：quziwei
 * @date ：2020/8/12 19:28
 * @description：主类
 */

public class MainClass {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MainConfig.class);
		context.getBean("a");
		System.out.println(context.getBean("a"));
	}
}
